<!DOCTYPE html>
html(lang="en")
    head
        meta(charset="UTF-8")
        meta(name="viewport", content="width=device-width, initial-scale=1.0")
        meta(http-equiv="X-UA-Compatible", content="ie=edge")
        title Document
    body
        | 用户名或者密码错误
        br
        span 5
        | 秒之后自动跳转...
        br
        a(href="/login") 点击直接跳转
script.
    let timer = document.querySelector("span").innerText;
    timer = parseInt(timer);
    setInterval(()=>{
        timer--
        document.querySelector("span").innerText = timer;
        if(timer<1){
            window.location.href = "/login";
        }
    },1000)